package com.quan.common.utils.oss.common.qiniu;

public class ResponseInfo {

	/**
	 * 信息
	 */
	private String message ;
	
	/**
	 * 状态
	 */
	private boolean status ;
	
	/**
	 * 状态码
	 */
	private int statusCode ;
	
	/**
	 * 空间名称
	 */
	private String bucket ;
	
	/**
	 * 文件名称
	 */
	private String fileName ;
	
	/**
	 * 文件类型，文件后缀名
	 */
	private String mimeType ;
	
	/**
	 * 文件下载URL地址
	 */
	private String downloadUrl ;

	public ResponseInfo() {
	}

	public ResponseInfo(String message, boolean status, int statusCode, String bucket, String fileName, String mimeType, String downloadUrl) {
		super();
		this.message = message;
		this.status = status;
		this.statusCode = statusCode;
		this.bucket = bucket;
		this.fileName = fileName;
		this.mimeType = mimeType;
		this.downloadUrl = downloadUrl;
	}
	
	public ResponseInfo(String message, boolean status, int statusCode, String bucket, String fileName, String mimeType) {
		super();
		this.message = message;
		this.status = status;
		this.statusCode = statusCode;
		this.bucket = bucket;
		this.fileName = fileName;
		this.mimeType = mimeType;
	}
	
	public ResponseInfo(String message, boolean status, int statusCode, String bucket, String fileName) {
		super();
		this.message = message;
		this.status = status;
		this.statusCode = statusCode;
		this.bucket = bucket;
		this.fileName = fileName;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public String getBucket() {
		return bucket;
	}

	public void setBucket(String bucket) {
		this.bucket = bucket;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getMimeType() {
		return mimeType;
	}

	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	@Override
	public String toString() {
		return "message=" + message + ", status=" + status + ", statusCode=" + statusCode + ", bucket=" + bucket + ", fileName=" + fileName + ", mimeType=" + mimeType + ", downloadUrl=" + downloadUrl;
	}
}
